package com.neuedu.config.configuration;


import com.neuedu.config.service.UserService;
import org.jshand.OtherPackConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;

@Configuration
//@Import(OtherPackConfig.class)
//@ImportResource(locations="classpath:ioc.xml")
public class AppConfig {



    @Bean("userService")  //<Bean >
    public UserService getUserService(){
        return new UserService();
    }

}
